// 封装一个本地储存
export default {
    set(k, v) {
        window.localStorage.setItem(k, v)
    },
    get(k) {
        return window.localStorage.getItem(k)
    },
    del(k) {
        window.localStorage.removeItem(k)
    },
    clear() {
        window.localStorage.clear()
    }
}